﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Drawing;
using System.Windows.Forms;
using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Styx.Logic.POI;

namespace HarmoniousVigor
{
    public partial class Shaman
    {
        public bool enhancementCombat()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (enhancementPVPCombat())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (enhancementDungeonCombat())
                    return true;
            }
            else
            {
                if (enhancementQuestingCombat())
                    return true;
            }

            return false;
        }
        public bool enhancementHeal()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (enhancementPVPHeal())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (enhancementDungeonHeal())
                    return true;
            }
            else
            {
                if (enhancementQuestingHeal())
                    return true;
            }

            return false;
        }
        public bool enhancementBuff()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (enhancementPVPBuff())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (enhancementDungeonBuff())
                    return true;
            }
            else
            {
                if (enhancementQuestingBuff())
                    return true;
            }

            return false;
        }
        public bool enhancementPullSpell()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (enhancementPVPPullSpell())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (enhancementDungeonPullSpell())
                    return true;
            }
            else
            {
                if (enhancementQuestingPullSpell())
                    return true;
            }

            return false;
        }
    }
}
